package cn.aitrox.ry.service.config.dto.in;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
public class CommonConfigChildAddInDto {

    @NotNull(message = "选项编号不能为空")
    private Integer parentId;

    @NotEmpty(message = "编码不能为空")
    private String code;

    @NotEmpty(message = "名称不能为空")
    private String name;

    private String value;

    private String remark;

}
